package breeze.lepei.der.utils;
import android.graphics.drawable.GradientDrawable;
import android.graphics.Color;

public class GradientDrawableUtil {
    
	/**
	*@author BREEZE
	*@description 获取启动图跳过字背景
	*@return GradientDrawable
	*/
	public static GradientDrawable getLogoSkipDrawable(){
		GradientDrawable gd=new GradientDrawable();
		gd.setColor(Color.BLACK);
		gd.setCornerRadius(90);
		return gd;
	}
	
	/**
	*@author BREEZE
	*@description 获取考试状态（无考试信息）
	*@return GradientDrawable
	*/
	public static GradientDrawable getNoExamStatus(){
		GradientDrawable gd=new GradientDrawable();
		gd.setColor(Color.parseColor("#F44336"));
		gd.setCornerRadius(90);
		return gd;
	}
	
}
